<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>QCNSim: SimplexLink Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">QCNSim
   </div>
   <div id="projectbrief">Simulator for Quake-Catcher Network</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_simplex_link-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SimplexLink Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_simplex_link.html" title="SimplexLink class. ">SimplexLink</a> class.  
 <a href="class_simplex_link.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_simplex_link_8h_source.html">SimplexLink.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for SimplexLink:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_simplex_link.png" usemap="#SimplexLink_map" alt=""/>
  <map id="SimplexLink_map" name="SimplexLink_map">
<area href="class_link.html" title="Link class. " alt="Link" shape="rect" coords="0,56,78,80"/>
<area href="class_entity.html" title="Entity class. " alt="Entity" shape="rect" coords="0,0,78,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa6c77538ee0e0454830a2ad56489a42d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simplex_link.html#aa6c77538ee0e0454830a2ad56489a42d">SimplexLink</a> (std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt; <a class="el" href="class_link.html#afc5d6ab142420b803c1f9802ad0199f5">nodeA</a>, std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt; <a class="el" href="class_link.html#af7a426a53a41d26351c85cb2cea50d60">nodeB</a>, double <a class="el" href="class_link.html#aff4506be6c9b62b335e3a389a01969ef">bandwidth</a>, double <a class="el" href="class_link.html#a31855f1eaf9c6562f1dc2067d475dd4d">propagationDelay</a>, <a class="el" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;<a class="el" href="class_link.html#a0f55fbe50f26e0c9d0469e3300584870">simulatorGlobals</a>, <a class="el" href="class_scheduler.html">Scheduler</a> &amp;<a class="el" href="class_link.html#ad60d0e445f4593579b62a3c2ecd1fa75">scheduler</a>, const std::string &amp;<a class="el" href="class_link.html#a3175152212d21764b83996c540617838">name</a>=&quot;&quot;)</td></tr>
<tr class="memdesc:aa6c77538ee0e0454830a2ad56489a42d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#aa6c77538ee0e0454830a2ad56489a42d">More...</a><br/></td></tr>
<tr class="separator:aa6c77538ee0e0454830a2ad56489a42d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac66df48ca3de080ea50af12f81c65555"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simplex_link.html#ac66df48ca3de080ea50af12f81c65555">getSourceNode</a> () const </td></tr>
<tr class="memdesc:ac66df48ca3de080ea50af12f81c65555"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return pointer to source node (one side of link).  <a href="#ac66df48ca3de080ea50af12f81c65555">More...</a><br/></td></tr>
<tr class="separator:ac66df48ca3de080ea50af12f81c65555"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add00dade9033d18444217c1fea7b0d62"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_simplex_link.html#add00dade9033d18444217c1fea7b0d62">getDestinationNode</a> () const </td></tr>
<tr class="memdesc:add00dade9033d18444217c1fea7b0d62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return pointer to destination (another side of link).  <a href="#add00dade9033d18444217c1fea7b0d62">More...</a><br/></td></tr>
<tr class="separator:add00dade9033d18444217c1fea7b0d62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_link"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_link')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_link.html">Link</a></td></tr>
<tr class="memitem:af485c0065bf1fdc5c296b45f6ef96fd3 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#af485c0065bf1fdc5c296b45f6ef96fd3">getNodeA</a> () const </td></tr>
<tr class="memdesc:af485c0065bf1fdc5c296b45f6ef96fd3 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return pointer to nodeA (one side of link).  <a href="#af485c0065bf1fdc5c296b45f6ef96fd3">More...</a><br/></td></tr>
<tr class="separator:af485c0065bf1fdc5c296b45f6ef96fd3 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb8020ddc851ceb0bf5dba01182d688c inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#adb8020ddc851ceb0bf5dba01182d688c">getNodeB</a> () const </td></tr>
<tr class="memdesc:adb8020ddc851ceb0bf5dba01182d688c inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return pointer to nodeB (another side of link).  <a href="#adb8020ddc851ceb0bf5dba01182d688c">More...</a><br/></td></tr>
<tr class="separator:adb8020ddc851ceb0bf5dba01182d688c inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cafc5931128c3a03ac50fa283e9c18f inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a2cafc5931128c3a03ac50fa283e9c18f">getBandwidth</a> () const </td></tr>
<tr class="memdesc:a2cafc5931128c3a03ac50fa283e9c18f inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return reference to nodeA.  <a href="#a2cafc5931128c3a03ac50fa283e9c18f">More...</a><br/></td></tr>
<tr class="separator:a2cafc5931128c3a03ac50fa283e9c18f inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6f3bcc6896090d2b0ab665c0fedbf17 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#ab6f3bcc6896090d2b0ab665c0fedbf17">getPropagationDelay</a> () const </td></tr>
<tr class="memdesc:ab6f3bcc6896090d2b0ab665c0fedbf17 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return propagation delay or latency of link.  <a href="#ab6f3bcc6896090d2b0ab665c0fedbf17">More...</a><br/></td></tr>
<tr class="separator:ab6f3bcc6896090d2b0ab665c0fedbf17 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0d2091b3406725300be167b82216552 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#ad0d2091b3406725300be167b82216552">getName</a> () const </td></tr>
<tr class="memdesc:ad0d2091b3406725300be167b82216552 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return name of link.  <a href="#ad0d2091b3406725300be167b82216552">More...</a><br/></td></tr>
<tr class="separator:ad0d2091b3406725300be167b82216552 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f1d8f13ecc78be10812fa1d78670339 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a3f1d8f13ecc78be10812fa1d78670339">isUp</a> () const </td></tr>
<tr class="memdesc:a3f1d8f13ecc78be10812fa1d78670339 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if link is up; false otherwise. This status is the direct status of underlying <a class="el" href="class_facility.html" title="Facility class. ">Facility</a>.  <a href="#a3f1d8f13ecc78be10812fa1d78670339">More...</a><br/></td></tr>
<tr class="separator:a3f1d8f13ecc78be10812fa1d78670339 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeba26f0ab710ff765646e669a60ac682 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_link_return_type_8h.html#a554ed4dd9752dfafac386b42493b83af">LinkReturnType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#aeba26f0ab710ff765646e669a60ac682">transmitPDU</a> (<a class="el" href="_event_type_8h.html#a2628ea8d12e8b2563c32f05dc7fff6fa">EventType</a> transmitEventType, <a class="el" href="_event_type_8h.html#a2628ea8d12e8b2563c32f05dc7fff6fa">EventType</a> endTransmitEventType, std::shared_ptr&lt; const <a class="el" href="class_protocol_data_unit.html">ProtocolDataUnit</a> &gt; pdu)</td></tr>
<tr class="memdesc:aeba26f0ab710ff765646e669a60ac682 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests transmission a PDU to (or through) the link.  <a href="#aeba26f0ab710ff765646e669a60ac682">More...</a><br/></td></tr>
<tr class="separator:aeba26f0ab710ff765646e669a60ac682 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb8a206db623b733b98bb5866335b19f inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual std::list<br class="typebreak"/>
&lt; std::shared_ptr&lt; const <br class="typebreak"/>
<a class="el" href="class_protocol_data_unit.html">ProtocolDataUnit</a> &gt;<br class="typebreak"/>
 &gt;::size_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#abb8a206db623b733b98bb5866335b19f">getInTransitQueueSize</a> () const </td></tr>
<tr class="memdesc:abb8a206db623b733b98bb5866335b19f inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get current PDU in-transit queue size.  <a href="#abb8a206db623b733b98bb5866335b19f">More...</a><br/></td></tr>
<tr class="separator:abb8a206db623b733b98bb5866335b19f inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94f1e68ad68a9ebd10fae43a531347d4 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_link_return_type_8h.html#a554ed4dd9752dfafac386b42493b83af">LinkReturnType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a94f1e68ad68a9ebd10fae43a531347d4">propagatePDU</a> (<a class="el" href="_event_type_8h.html#a2628ea8d12e8b2563c32f05dc7fff6fa">EventType</a> nextEvent, std::shared_ptr&lt; const <a class="el" href="class_protocol_data_unit.html">ProtocolDataUnit</a> &gt; pdu)</td></tr>
<tr class="memdesc:a94f1e68ad68a9ebd10fae43a531347d4 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends transmission (release PDU from <a class="el" href="class_facility.html" title="Facility class. ">Facility</a>) and propagate PDU through this link.  <a href="#a94f1e68ad68a9ebd10fae43a531347d4">More...</a><br/></td></tr>
<tr class="separator:a94f1e68ad68a9ebd10fae43a531347d4 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9f5b6b14f9f191421c7e131ccb288ea inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#aa9f5b6b14f9f191421c7e131ccb288ea">isTransmissionServerBusy</a> () const </td></tr>
<tr class="separator:aa9f5b6b14f9f191421c7e131ccb288ea inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab122159183081cdeb5f7b8947f62b9a7 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#ab122159183081cdeb5f7b8947f62b9a7">endPropagation</a> (std::shared_ptr&lt; <a class="el" href="class_protocol_data_unit.html">ProtocolDataUnit</a> &gt; pdu)</td></tr>
<tr class="memdesc:ab122159183081cdeb5f7b8947f62b9a7 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">PDU has successfully propagated through the link; end propagation.  <a href="#ab122159183081cdeb5f7b8947f62b9a7">More...</a><br/></td></tr>
<tr class="separator:ab122159183081cdeb5f7b8947f62b9a7 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a297af435322be39d8562091688c460a7 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual std::list<br class="typebreak"/>
&lt; <a class="el" href="class_facility_queue_element.html">FacilityQueueElement</a> &gt;<br class="typebreak"/>
::size_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a297af435322be39d8562091688c460a7">getTransmissionQueueSize</a> () const </td></tr>
<tr class="memdesc:a297af435322be39d8562091688c460a7 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get transmission (<a class="el" href="class_facility.html" title="Facility class. ">Facility</a>) queue size.  <a href="#a297af435322be39d8562091688c460a7">More...</a><br/></td></tr>
<tr class="separator:a297af435322be39d8562091688c460a7 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ae26f20287944d54c2db9d12b56f28d inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a3ae26f20287944d54c2db9d12b56f28d">getMaxRecordedTransmissionQueueSize</a> () const </td></tr>
<tr class="memdesc:a3ae26f20287944d54c2db9d12b56f28d inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get transmission (<a class="el" href="class_facility.html" title="Facility class. ">Facility</a>) max recorded queue size.  <a href="#a3ae26f20287944d54c2db9d12b56f28d">More...</a><br/></td></tr>
<tr class="separator:a3ae26f20287944d54c2db9d12b56f28d inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab93be277b905f1bd1746d649ebb4461d inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#ab93be277b905f1bd1746d649ebb4461d">getTransmissionQueueSizeLimit</a> () const </td></tr>
<tr class="memdesc:ab93be277b905f1bd1746d649ebb4461d inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get transmission (<a class="el" href="class_facility.html" title="Facility class. ">Facility</a>) queue size limit.  <a href="#ab93be277b905f1bd1746d649ebb4461d">More...</a><br/></td></tr>
<tr class="separator:ab93be277b905f1bd1746d649ebb4461d inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0866e5df549e6c3d83c0247d098d4ab0 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a0866e5df549e6c3d83c0247d098d4ab0">getDroppedPdusCountTransmissionServer</a> () const </td></tr>
<tr class="separator:a0866e5df549e6c3d83c0247d098d4ab0 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5d1051d4f63ff9018fd4d6f5848dcf1 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#af5d1051d4f63ff9018fd4d6f5848dcf1">getDroppedPdusCountMedium</a> () const </td></tr>
<tr class="separator:af5d1051d4f63ff9018fd4d6f5848dcf1 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a194c6afd1182f7543ebd50f859b86123 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a194c6afd1182f7543ebd50f859b86123">getDroppedPdusCountWholeLink</a> () const </td></tr>
<tr class="separator:a194c6afd1182f7543ebd50f859b86123 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57170d6e8669a32107794b0a2cc98890 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a57170d6e8669a32107794b0a2cc98890">setUp</a> ()</td></tr>
<tr class="memdesc:a57170d6e8669a32107794b0a2cc98890 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set <a class="el" href="class_link.html" title="Link class. ">Link</a> up.  <a href="#a57170d6e8669a32107794b0a2cc98890">More...</a><br/></td></tr>
<tr class="separator:a57170d6e8669a32107794b0a2cc98890 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe69b641a7b52cdc830307dfcd9e8af3 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#afe69b641a7b52cdc830307dfcd9e8af3">setDown</a> ()</td></tr>
<tr class="memdesc:afe69b641a7b52cdc830307dfcd9e8af3 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set <a class="el" href="class_link.html" title="Link class. ">Link</a> down.  <a href="#afe69b641a7b52cdc830307dfcd9e8af3">More...</a><br/></td></tr>
<tr class="separator:afe69b641a7b52cdc830307dfcd9e8af3 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af64db4e49ef26c305b301db2ae318244 inherit pub_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#af64db4e49ef26c305b301db2ae318244">setTransmissionQueueSizeLimit</a> (unsigned int limit)</td></tr>
<tr class="memdesc:af64db4e49ef26c305b301db2ae318244 inherit pub_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set transmission (<a class="el" href="class_facility.html" title="Facility class. ">Facility</a>) queue size limit.  <a href="#af64db4e49ef26c305b301db2ae318244">More...</a><br/></td></tr>
<tr class="separator:af64db4e49ef26c305b301db2ae318244 inherit pub_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_entity"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_entity')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_entity.html">Entity</a></td></tr>
<tr class="memitem:ac2da1e8a32161accc56f39ac52cebd86 inherit pub_methods_class_entity"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_entity.html#ac2da1e8a32161accc56f39ac52cebd86">~Entity</a> ()=0</td></tr>
<tr class="memdesc:ac2da1e8a32161accc56f39ac52cebd86 inherit pub_methods_class_entity"><td class="mdescLeft">&#160;</td><td class="mdescRight">Make this abstract (pure virtual), cannot be instantiated.  <a href="#ac2da1e8a32161accc56f39ac52cebd86">More...</a><br/></td></tr>
<tr class="separator:ac2da1e8a32161accc56f39ac52cebd86 inherit pub_methods_class_entity"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_link"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_link')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_link.html">Link</a></td></tr>
<tr class="memitem:aaaf840f77f9ad3f577a6746fd30c8577 inherit pro_methods_class_link"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#aaaf840f77f9ad3f577a6746fd30c8577">Link</a> (std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt; <a class="el" href="class_link.html#afc5d6ab142420b803c1f9802ad0199f5">nodeA</a>, std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt; <a class="el" href="class_link.html#af7a426a53a41d26351c85cb2cea50d60">nodeB</a>, double <a class="el" href="class_link.html#aff4506be6c9b62b335e3a389a01969ef">bandwidth</a>, double <a class="el" href="class_link.html#a31855f1eaf9c6562f1dc2067d475dd4d">propagationDelay</a>, <a class="el" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;<a class="el" href="class_link.html#a0f55fbe50f26e0c9d0469e3300584870">simulatorGlobals</a>, <a class="el" href="class_scheduler.html">Scheduler</a> &amp;<a class="el" href="class_link.html#ad60d0e445f4593579b62a3c2ecd1fa75">scheduler</a>, const std::string &amp;<a class="el" href="class_link.html#a3175152212d21764b83996c540617838">name</a>=&quot;&quot;)</td></tr>
<tr class="memdesc:aaaf840f77f9ad3f577a6746fd30c8577 inherit pro_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#aaaf840f77f9ad3f577a6746fd30c8577">More...</a><br/></td></tr>
<tr class="separator:aaaf840f77f9ad3f577a6746fd30c8577 inherit pro_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d8007c08641925ab31385d28cb0f39e inherit pro_methods_class_link"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a4d8007c08641925ab31385d28cb0f39e">~Link</a> ()=0</td></tr>
<tr class="memdesc:a4d8007c08641925ab31385d28cb0f39e inherit pro_methods_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a4d8007c08641925ab31385d28cb0f39e">More...</a><br/></td></tr>
<tr class="separator:a4d8007c08641925ab31385d28cb0f39e inherit pro_methods_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_link"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_link')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="class_link.html">Link</a></td></tr>
<tr class="memitem:afc5d6ab142420b803c1f9802ad0199f5 inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#afc5d6ab142420b803c1f9802ad0199f5">nodeA</a></td></tr>
<tr class="memdesc:afc5d6ab142420b803c1f9802ad0199f5 inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_node.html" title="Node class. ">Node</a> at one side of the link.  <a href="#afc5d6ab142420b803c1f9802ad0199f5">More...</a><br/></td></tr>
<tr class="separator:afc5d6ab142420b803c1f9802ad0199f5 inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7a426a53a41d26351c85cb2cea50d60 inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#af7a426a53a41d26351c85cb2cea50d60">nodeB</a></td></tr>
<tr class="memdesc:af7a426a53a41d26351c85cb2cea50d60 inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_node.html" title="Node class. ">Node</a> at the other side of the link.  <a href="#af7a426a53a41d26351c85cb2cea50d60">More...</a><br/></td></tr>
<tr class="separator:af7a426a53a41d26351c85cb2cea50d60 inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff4506be6c9b62b335e3a389a01969ef inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#aff4506be6c9b62b335e3a389a01969ef">bandwidth</a></td></tr>
<tr class="memdesc:aff4506be6c9b62b335e3a389a01969ef inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bandwidth of this link, typically in bits per second.  <a href="#aff4506be6c9b62b335e3a389a01969ef">More...</a><br/></td></tr>
<tr class="separator:aff4506be6c9b62b335e3a389a01969ef inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31855f1eaf9c6562f1dc2067d475dd4d inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a31855f1eaf9c6562f1dc2067d475dd4d">propagationDelay</a></td></tr>
<tr class="memdesc:a31855f1eaf9c6562f1dc2067d475dd4d inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Propagation delay of this link, which is medium-dependent, typically in seconds.  <a href="#a31855f1eaf9c6562f1dc2067d475dd4d">More...</a><br/></td></tr>
<tr class="separator:a31855f1eaf9c6562f1dc2067d475dd4d inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3175152212d21764b83996c540617838 inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a3175152212d21764b83996c540617838">name</a></td></tr>
<tr class="memdesc:a3175152212d21764b83996c540617838 inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of this link.  <a href="#a3175152212d21764b83996c540617838">More...</a><br/></td></tr>
<tr class="separator:a3175152212d21764b83996c540617838 inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53ed79d4f4d927e120d0cbfa00158089 inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top">std::list&lt; std::shared_ptr<br class="typebreak"/>
&lt; const <a class="el" href="class_protocol_data_unit.html">ProtocolDataUnit</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a53ed79d4f4d927e120d0cbfa00158089">inTransitQueue</a></td></tr>
<tr class="memdesc:a53ed79d4f4d927e120d0cbfa00158089 inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queue for PDUs in transit (in propagation) in this link.  <a href="#a53ed79d4f4d927e120d0cbfa00158089">More...</a><br/></td></tr>
<tr class="separator:a53ed79d4f4d927e120d0cbfa00158089 inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f55fbe50f26e0c9d0469e3300584870 inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a0f55fbe50f26e0c9d0469e3300584870">simulatorGlobals</a></td></tr>
<tr class="memdesc:a0f55fbe50f26e0c9d0469e3300584870 inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to <a class="el" href="class_simulator_globals.html" title="Simulator-scope variables and parameters. ">SimulatorGlobals</a> object.  <a href="#a0f55fbe50f26e0c9d0469e3300584870">More...</a><br/></td></tr>
<tr class="separator:a0f55fbe50f26e0c9d0469e3300584870 inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad60d0e445f4593579b62a3c2ecd1fa75 inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_scheduler.html">Scheduler</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#ad60d0e445f4593579b62a3c2ecd1fa75">scheduler</a></td></tr>
<tr class="memdesc:ad60d0e445f4593579b62a3c2ecd1fa75 inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference to <a class="el" href="class_scheduler.html" title="Scheduler class. ">Scheduler</a> object.  <a href="#ad60d0e445f4593579b62a3c2ecd1fa75">More...</a><br/></td></tr>
<tr class="separator:ad60d0e445f4593579b62a3c2ecd1fa75 inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe44953f8653b44f2b914daa0bb6bcdc inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_facility.html">Facility</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#abe44953f8653b44f2b914daa0bb6bcdc">transmissionServer</a></td></tr>
<tr class="memdesc:abe44953f8653b44f2b914daa0bb6bcdc inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmission server for this <a class="el" href="class_link.html" title="Link class. ">Link</a> (one-way).  <a href="#abe44953f8653b44f2b914daa0bb6bcdc">More...</a><br/></td></tr>
<tr class="separator:abe44953f8653b44f2b914daa0bb6bcdc inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71c43c39d94c9b8b95d1810b5c7d17ac inherit pro_attribs_class_link"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_link.html#a71c43c39d94c9b8b95d1810b5c7d17ac">droppedPdusCountMedium</a></td></tr>
<tr class="memdesc:a71c43c39d94c9b8b95d1810b5c7d17ac inherit pro_attribs_class_link"><td class="mdescLeft">&#160;</td><td class="mdescRight">Count of dropped PDUs by this link's medium.  <a href="#a71c43c39d94c9b8b95d1810b5c7d17ac">More...</a><br/></td></tr>
<tr class="separator:a71c43c39d94c9b8b95d1810b5c7d17ac inherit pro_attribs_class_link"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="class_simplex_link.html" title="SimplexLink class. ">SimplexLink</a> class. </p>
<dl class="section author"><dt>Author</dt><dd>Marcos Portnoi </dd></dl>
<dl class="section date"><dt>Date</dt><dd>October 2013</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright (C) 2013 University of Delaware. </dd>
<dd>
QCNSim uses elements of TARVOS simulator, Copyright (C) 2005, 2006, 2007 Marcos Portnoi. </dd></dl>
<dl class="section user"><dt></dt><dd>This file is part of QCNSim. QCNSim is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<br/>
 QCNSim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.<br/>
 You should have received a copy of the GNU Lesser General Public License along with QCNSim. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>. </dd></dl>
<dl class="section user"><dt>Description</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="_simplex_link_8h_source.html#l00030">30</a> of file <a class="el" href="_simplex_link_8h_source.html">SimplexLink.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa6c77538ee0e0454830a2ad56489a42d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimplexLink::SimplexLink </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt;&#160;</td>
          <td class="paramname"><em>nodeA</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt;&#160;</td>
          <td class="paramname"><em>nodeB</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>bandwidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>propagationDelay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_simulator_globals.html">SimulatorGlobals</a> &amp;&#160;</td>
          <td class="paramname"><em>simulatorGlobals</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_scheduler.html">Scheduler</a> &amp;&#160;</td>
          <td class="paramname"><em>scheduler</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em> = <code>&quot;&quot;</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Default constructor. </p>
<dl class="section author"><dt>Author</dt><dd>Marcos Portnoi </dd></dl>
<dl class="section date"><dt>Date</dt><dd>October 2013</dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright (C) 2013 University of Delaware. </dd>
<dd>
QCNSim uses elements of TARVOS simulator, Copyright (C) 2005, 2006, 2007 Marcos Portnoi. </dd></dl>
<dl class="section user"><dt></dt><dd>This file is part of QCNSim. QCNSim is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<br/>
 QCNSim is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.<br/>
 You should have received a copy of the GNU Lesser General Public License along with QCNSim. If not, see <a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>.</dd></dl>
<p>Calls the base class constructor to populate member variables. Also pass the references to this class private members and use them to make nodes more evident.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">nodeA</td><td>Reference to <a class="el" href="class_node.html" title="Node class. ">Node</a> at source. It is nodeA at base class. </td></tr>
    <tr><td class="paramname">nodeB</td><td>Reference to <a class="el" href="class_node.html" title="Node class. ">Node</a> at destination. It is nodeB at base class. </td></tr>
    <tr><td class="paramname">bandwidth</td><td>Bandwidth of this link, typically in bits per second. </td></tr>
    <tr><td class="paramname">propagationDelay</td><td>Propagation delay of this link, which is medium-dependent, typically in seconds. </td></tr>
    <tr><td class="paramname">simulatorGlobals</td><td>Reference to <a class="el" href="class_simulator_globals.html" title="Simulator-scope variables and parameters. ">SimulatorGlobals</a> object. </td></tr>
    <tr><td class="paramname">scheduler</td><td>Reference to <a class="el" href="class_scheduler.html" title="Scheduler class. ">Scheduler</a> object. </td></tr>
    <tr><td class="paramname">name</td><td>Name of this link. Default is "". </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_simplex_link_8cpp_source.html#l00037">37</a> of file <a class="el" href="_simplex_link_8cpp_source.html">SimplexLink.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;                                                     : <a class="code" href="class_link.html#aaaf840f77f9ad3f577a6746fd30c8577">Link</a>(<a class="code" href="class_link.html#afc5d6ab142420b803c1f9802ad0199f5">nodeA</a>, <a class="code" href="class_link.html#af7a426a53a41d26351c85cb2cea50d60">nodeB</a>, <a class="code" href="class_link.html#aff4506be6c9b62b335e3a389a01969ef">bandwidth</a>, <a class="code" href="class_link.html#a31855f1eaf9c6562f1dc2067d475dd4d">propagationDelay</a>, simulatorGlobals, scheduler, <a class="code" href="class_link.html#a3175152212d21764b83996c540617838">name</a>) {</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;}</div>
<div class="ttc" id="class_link_html_aaaf840f77f9ad3f577a6746fd30c8577"><div class="ttname"><a href="class_link.html#aaaf840f77f9ad3f577a6746fd30c8577">Link::Link</a></div><div class="ttdeci">Link(std::shared_ptr&lt; Node &gt; nodeA, std::shared_ptr&lt; Node &gt; nodeB, double bandwidth, double propagationDelay, SimulatorGlobals &amp;simulatorGlobals, Scheduler &amp;scheduler, const std::string &amp;name=&quot;&quot;)</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> <a href="_link_8cpp_source.html#l00034">Link.cpp:34</a></div></div>
<div class="ttc" id="class_link_html_afc5d6ab142420b803c1f9802ad0199f5"><div class="ttname"><a href="class_link.html#afc5d6ab142420b803c1f9802ad0199f5">Link::nodeA</a></div><div class="ttdeci">std::shared_ptr&lt; Node &gt; nodeA</div><div class="ttdoc">Node at one side of the link. </div><div class="ttdef"><b>Definition:</b> <a href="_link_8h_source.html#l00066">Link.h:66</a></div></div>
<div class="ttc" id="class_link_html_a3175152212d21764b83996c540617838"><div class="ttname"><a href="class_link.html#a3175152212d21764b83996c540617838">Link::name</a></div><div class="ttdeci">std::string name</div><div class="ttdoc">Name of this link. </div><div class="ttdef"><b>Definition:</b> <a href="_link_8h_source.html#l00070">Link.h:70</a></div></div>
<div class="ttc" id="class_link_html_af7a426a53a41d26351c85cb2cea50d60"><div class="ttname"><a href="class_link.html#af7a426a53a41d26351c85cb2cea50d60">Link::nodeB</a></div><div class="ttdeci">std::shared_ptr&lt; Node &gt; nodeB</div><div class="ttdoc">Node at the other side of the link. </div><div class="ttdef"><b>Definition:</b> <a href="_link_8h_source.html#l00067">Link.h:67</a></div></div>
<div class="ttc" id="class_link_html_a31855f1eaf9c6562f1dc2067d475dd4d"><div class="ttname"><a href="class_link.html#a31855f1eaf9c6562f1dc2067d475dd4d">Link::propagationDelay</a></div><div class="ttdeci">double propagationDelay</div><div class="ttdoc">Propagation delay of this link, which is medium-dependent, typically in seconds. </div><div class="ttdef"><b>Definition:</b> <a href="_link_8h_source.html#l00069">Link.h:69</a></div></div>
<div class="ttc" id="class_link_html_aff4506be6c9b62b335e3a389a01969ef"><div class="ttname"><a href="class_link.html#aff4506be6c9b62b335e3a389a01969ef">Link::bandwidth</a></div><div class="ttdeci">double bandwidth</div><div class="ttdoc">Bandwidth of this link, typically in bits per second. </div><div class="ttdef"><b>Definition:</b> <a href="_link_8h_source.html#l00068">Link.h:68</a></div></div>
</div><!-- fragment -->
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="add00dade9033d18444217c1fea7b0d62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt; SimplexLink::getDestinationNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return pointer to destination (another side of link). </p>
<dl class="section return"><dt>Returns</dt><dd>Pointer to nodeB or destination </dd></dl>

<p>Definition at line <a class="el" href="_simplex_link_8cpp_source.html#l00055">55</a> of file <a class="el" href="_simplex_link_8cpp_source.html">SimplexLink.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;                                                          {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_link.html#adb8020ddc851ceb0bf5dba01182d688c">getNodeB</a>();</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;}</div>
<div class="ttc" id="class_link_html_adb8020ddc851ceb0bf5dba01182d688c"><div class="ttname"><a href="class_link.html#adb8020ddc851ceb0bf5dba01182d688c">Link::getNodeB</a></div><div class="ttdeci">virtual std::shared_ptr&lt; Node &gt; getNodeB() const </div><div class="ttdoc">Return pointer to nodeB (another side of link). </div><div class="ttdef"><b>Definition:</b> <a href="_link_8cpp_source.html#l00290">Link.cpp:290</a></div></div>
</div><!-- fragment -->
</div>
</div>
<a class="anchor" id="ac66df48ca3de080ea50af12f81c65555"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt; SimplexLink::getSourceNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return pointer to source node (one side of link). </p>
<dl class="section return"><dt>Returns</dt><dd>Pointer to nodeA or source. </dd></dl>

<p>Definition at line <a class="el" href="_simplex_link_8cpp_source.html#l00046">46</a> of file <a class="el" href="_simplex_link_8cpp_source.html">SimplexLink.cpp</a>.</p>
<div class="fragment"><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                                                     {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_link.html#af485c0065bf1fdc5c296b45f6ef96fd3">getNodeA</a>();</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;}</div>
<div class="ttc" id="class_link_html_af485c0065bf1fdc5c296b45f6ef96fd3"><div class="ttname"><a href="class_link.html#af485c0065bf1fdc5c296b45f6ef96fd3">Link::getNodeA</a></div><div class="ttdeci">virtual std::shared_ptr&lt; Node &gt; getNodeA() const </div><div class="ttdoc">Return pointer to nodeA (one side of link). </div><div class="ttdef"><b>Definition:</b> <a href="_link_8cpp_source.html#l00281">Link.cpp:281</a></div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>QcnSim/<a class="el" href="_simplex_link_8h_source.html">SimplexLink.h</a></li>
<li>QcnSim/<a class="el" href="_simplex_link_8cpp_source.html">SimplexLink.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Nov 14 2013 11:18:24 for QCNSim by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>
